{{with .rows}}
<ul>
    {{range .}}
    <li data-id="{{.id}}">{{.name}}<span style="color:#666">({{if eq .parent_name "始祖"}}{{.parent_name}}{{else}}父:{{.parent_name}}{{end}})</span></li>
    {{end}}
</ul>
{{else}}
<div class="empty"><span class="iconfont icon-empty"></span>没有数据</div>
{{end}}